﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MoneyCounter.Models.Auth
{
	public class MCPMembershipUser : System.Web.Security.MembershipUser
	{
		public string Username { get; set; }

		public MCPMembershipUser(
			string providerName,
			string username,
			object providerUserKey,
			string email,
			string passwordQuestion,
			string comment,
			bool isApproved,
			bool isLockedOut,
			DateTime creationDate,
			DateTime lastLoginDate,
			DateTime lastActivityDate,
			DateTime lastPasswordChangedDate,
			DateTime lastLockoutDate)
			: base(providerName, username, providerUserKey, email, passwordQuestion, comment, isApproved, isLockedOut, creationDate,
			lastLoginDate, lastActivityDate, lastPasswordChangedDate, lastLockoutDate)
		{
		}

		public MCPMembershipUser(string username)
			: this (
			string.Empty,
			username,
			null,
			string.Empty,
			string.Empty,
			string.Empty,
			false,
			false,
			new DateTime(),
			new DateTime(),
			new DateTime(),
			new DateTime(),
			new DateTime())
		{
		}
	}
}